package com.unionx.unionxuf.localdao;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import com.unionx.unionxuf.entity.Credence;
@Repository
public interface CredenceMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Credence record);

    int insertSelective(Credence record);

    Credence selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Credence record);

    int updateByPrimaryKey(Credence record);

    @Select(" select  * from credence where cropid = #{0} and isno =#{1}")
    Credence selectBylsandCid(String cropid, String serialno);
}